//
//  CardRecordModel.m
//  MRBang
//
//  Created by 铅笔 on 16/5/4.
//  Copyright © 2016年 杭州易网新科技. All rights reserved.
//

#import "CardRecordModel.h"

@implementation CardRecordModel

- (void) decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"cardimg"] isKindOfClass:[NSNull class]]) {
            self.cardimg = [dic objectForKey:@"cardimg"];
        }
        if (![[dic objectForKey:@"cardname"] isKindOfClass:[NSNull class]]) {
            self.cardname = [dic objectForKey:@"cardname"];
        }
        if (![[dic objectForKey:@"dt"] isKindOfClass:[NSNull class]]) {
            self.dt = [dic objectForKey:@"dt"];
        }
        if (![[dic objectForKey:@"status"] isKindOfClass:[NSNull class]]) {
            self.status = [dic objectForKey:@"status"];
        }
    }
}



@end
